package com.np.retrofit211demo1.service;

import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface IAccessToken {

    @POST("api/login")
    @Headers({"Content-Type: application/json"})
    Call<ResponseBody> login(@Body RequestBody body);

}
